package top.dzygod.modules.pay.rest;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.dzygod.annotation.AnonymousAccess;
import top.dzygod.annotation.Log;
import top.dzygod.modules.pay.service.RecordService;
import top.dzygod.modules.pay.service.dto.FormQueryCriteria;

/**
 * @Author: dingziyuan
 * @Date: 2020/7/29 17:08
 * @Description: *
 */
@RestController
@RequiredArgsConstructor
@Api(tags = "表单管理")
@RequestMapping("/api/form")
public class FormController {
    private final RecordService recordService;

    @GetMapping
    @Log("查询form页面的信息")
    @ApiOperation("查询学校")
    @AnonymousAccess
    public ResponseEntity<Object> query(FormQueryCriteria criteria){
        return new ResponseEntity<>(HttpStatus.OK);
    }

}
